package com.open.capacity.finance.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * 凭证分录
 *
 * @author
 * @email
 * @date 2020-06-05 17:40:41
 */

@Data
public class Pzfl implements Serializable {
    private static final long serialVersionUID = 1L;


    private String flid;

    private String flid1;

    private String flid2;

    private String pzid;

    private Integer flxh;

    @NotBlank
    @Length(max = 500)
    private String zy;

    @NotBlank
    @Length(max = 50)
    private String kjkmCode;

    private String kjkmName;

    private String kjkmSimpleName;

    @TableField(exist = false)
    private String kjkm;


    @NotBlank
    @Length(max = 50)
    private String kjkmCode1;

    private String kjkmName1;

    private String kjkmSimpleName1;

    @TableField(exist = false)
    private String kjkm1;

    @NotBlank
    @Length(max = 50)
    private String kjkmCode2;

    private String kjkmName2;

    private String kjkmSimpleName2;

    @TableField(exist = false)
    private String kjkm2;


    @TableField(exist = false)
    private Integer isProjectHs;
    @TableField(exist = false)
    private Integer isDepartmentHs;
    @TableField(exist = false)
    private Integer isExpecoHs;
    @TableField(exist = false)
    private Integer isExpfuncHs;
    @TableField(exist = false)
    private Integer isDepproHs;

    private BigDecimal j;

    private BigDecimal d;

    private BigDecimal j1;

    private BigDecimal d1;

    private BigDecimal j2;

    private BigDecimal d2;

    @TableField(exist = false)
    private List<PzflExt> extList;

    private String accaCode;
}
